<!--
 * @Author: junyang.le@hand-china.com
 * @Date: 2022-06-02 15:02:55
 * @LastEditTime: 2023-05-24 22:21:28
 * @LastEditors: junyang.le@hand-china.com
 * @Description: your description
 * @FilePath: \IntlTool\tests\test.vue
-->
<template>
	<p data="神祇">还剩{{ count }}秒</p>
	<div>倒计时{{ hour }}时{{ minute }}分{{ second }}秒</div>
	<span
		><div>套娃</div>
		末尾</span
	>
	<div>{{ 5 + '个' }}</div>
	<div>{{ 5 }}个</div>
  <div> {{ dd }} div文本嵌套span <span> 哈哈 {{ bb }}</span></div>
  <div> 二这种嵌套呢 {{ dd }} <span> {{ aa }} 哈哈 {{ bb }}</span></div>
	<div :label="intl('page.common.label.text', { c }).d(`aaa${c}`)">{{ intl("common.txt", { a: 1 }).d(`文本${a}`) }}</div>
</template>

<script>
const vvv = "哼";
export default {
	data() {
		return {
			greeting: "Hello",
			obaoba: this.intl(`fsadf`, { vvv: vvv }).d(`qqq${vvv}`),
			badsf: this.intl("already").d(`已有的`),
			gb: "狗",
		};
	},
	methods: {
		go() {
			const vm = this;
			const txt = vm.intl('changeThis').d('改变了this的');
			console.log("这是注释");
			const def = "我是";
			this.addressList[0] = this.addressList[0].search('市') !== -1 ? this.addressList[0].slice(0, 2) : this.addressList[0]; // FIXME
			const condition = true ? "你" : "abc";
			const add = def + "无上" || "上午";
			add = "上面" && "我";
			const obj = {
				a: "阿巴",
				d: or && "阿巴",
			};
			const killList = ["如", "墙"];
			return "结果";
		},
	},
};
</script>

<style scoped>
p {
	font-size: 2em;
	text-align: center;
}
</style>
